
import request from "axios";

/***
 * BMPE算法生成数据
 * @param data
 * @returns {AxiosPromise}
 */
export function GetBMPE(data) {
    return request({
        url: '/api/BMPE',
        method: 'POST',
        headers:{
            'Access-Control-Allow-Origin':"*",
            'Access-Control-Allow-Credentials':true
        },
        timeout: 600000,
        data:data
    });
}

/***
 * 算法二接口
 */
export function GetCA(data) {
    return request({
        url: '/api/CA',
        method: 'POST',
        headers:{
            'Access-Control-Allow-Origin':"*",
            'Access-Control-Allow-Credentials':true
        },
        timeout: 600000,
        data:data
    });
}